# Maintainer: Thomas Liske <thomas@fiasko-nw.net>
pkgname=py3-pyroute2-minimal
_pkgname=pyroute2.minimal
pkgver=0.6.9
pkgrel=0
pkgdesc="Python Netlink library: minimal installation"
url="https://github.com/svinota/pyroute2"
arch="noarch"
license="GPL-2.0-or-later OR Apache-2.0"
makedepends="py3-setuptools"
depends="!py3-pyroute2 py3-pyroute2.core"
options="!check" # not supported for pr2modules namespace
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="
3fcdeebad0003bc745759cddad3a6785a421f74e73adc85aad23453e1de589e5bb33dd4627c80a55179e9eed6541d178584c20a077970048811304d354331fdc  pyroute2.minimal-0.6.9.tar.gz
"
